package FlowGram.Application.IDEWindow.FileManager;

import java.io.File;
import java.util.Date;


/**
 * 
 * @author thackray
 *
 */
public class TerrainFileItem extends File {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected ProjectFileItem project;
	
	public TerrainFileItem(String filepath){
		super(filepath);
	}
	
	public void touch(){
		this.setLastModified(new Date().getTime());
	}
	public void setModified(Date d){
		this.setLastModified(d.getTime());
	}
	
	public ProjectFileItem getProject(){
		return this.project;
	}
	public Date getModified(){
		return new Date(this.lastModified());
	}
	public String toString(){
		return this.getName();
	}
}
